package com.yejiali.backend.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @Author:yejiali
 * @Date:2025/8/16-08-16-10:52
 * @Decsription:com.yejiali.backend.entity.vo
 * @Version:1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CommentReplyVO {
    private Long commentId;
    //视频ID
    private Long videoId;
    //发布者ID
    private Long publisherId;
    //发布者头像
    private String publisherAvatar;
    //发布者昵称
    private String publisherNickname;
    //接收者ID
    private Long accepterId;
    //上级评论ID（根评论-1）(我的评论)
    private Long parentCommentId;
    //上级评论内容（我的评论）
    private String parentCommentContent;
    //评论内容（他的回复）
    private String content;
    //视频封面
    private String pictureUrl;
    //是否点赞
    private Boolean isLiked;
    //发布时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date publishTime;

}
